//
//  homework.h
//  C7_结构体课后作业
//
//  Created by dllo on 15/10/14.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef struct date {

    int year;
    int month;
    int day;

} Date;

int days(Date date);

struct student {

    char name[20];
    int number;
    float languageScore;
    float mathScore;
    float englishScore;
    float average;

};

void avg(struct student stu[], int count);

void poor(struct student stu[],int count);

void excellent(struct student stu[], int count);

struct select{

    int count;
    char letter;

};

void cast (struct select tick[],int n, int ticket[]);

typedef struct point{

    int x;
    int y;

} MyPoint;

void horizontal(MyPoint a, MyPoint b);

void vertical(MyPoint a, MyPoint b);

void equal(MyPoint a, MyPoint b);

typedef struct size{

    int width;
    int height;

} MySize;






